<?php
require_once('calendar/classes/tc_calendar.php');
?>

<link href="calendar/calendar.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="calendar/calendar.js"></script>

<style type="text/css">
body { font-size: 11px; font-family: "verdana"; }
pre { font-family: "verdana"; font-size: 10px; background-color: #FFFFFF; padding: 5px 5px 5px 5px; }

</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>

<?php
 $myCalendar = new tc_calendar("date1", true, false);
$myCalendar->setIcon("calendar/images/iconCalendar.gif");
//$myCalendar->setDate(date('d'), date('m'), date('Y'));
$myCalendar->setPath("calendar/");
$myCalendar->setYearInterval(2000, 2015);
$myCalendar->dateAllow('2012-01-20', '2020-03-01');
$myCalendar->setDateFormat('j F Y');
$myCalendar->setAlignment('left', 'bottom');
$myCalendar->writeScript();
?>
